<style>
    .upload-image {
        background: url('__CDN__/assets/addons/example/img/plus.png') no-repeat center center;
        background-size: 30px 30px;
        height: 30px;
        width: 30px;
        border: 1px solid #ccc;
    }

    textarea.form-control {
        background: #eee;
    }
</style>
<div class="row">
    <div class="col-md-4">
        <div class="box box-success">
            <div class="panel-heading">
                {:__('合作专区-图片管理')}
            </div>
            <div class="panel-body">
                <form id="first-form" role="form" data-toggle="validator" method="POST" action="cooperate/save">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('图片')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-image" class="form-control" size="50" name="row[image]" type="text"
                                       value="{$image}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-image"></span>
                            </div>
                            <ul class="row list-inline faupload-preview" id="p-image"></ul>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="control-label col-xs-12"></label>
                        <div class="col-xs-12">
                            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>

    </div>
    <div class="col-md-8">
        <div class="box box-success">
            <div class="panel-heading">
                {:__('合作专区-信息列表')}
            </div>
            <div class="panel panel-default panel-intro">
                <div class="panel-body">
                    <div id="1" class="tab-content">
                        <div class="tab-pane fade active in" id="one">
                            <div class="widget-body no-padding">
                                <div id="toolbar1" class="toolbar">
                                    {:build_toolbar('refresh')}
                                </div>
                                <table id="table1" class="table table-striped table-bordered table-hover" width="100%">

                                </table>


                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
